package com.androidx.p013lv.mine.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
import com.androidx.p013lv.base.C1010R;
import com.androidx.p013lv.mine.C1207R;
import java.util.Objects;

/* renamed from: com.androidx.lv.mine.dialog.DialogVipBuySuccess */
public class DialogVipBuySuccess extends Dialog {
    private TextView tvContent = ((TextView) findViewById(C1207R.C1210id.tv_content));

    public DialogVipBuySuccess(Context context) {
        super(context, C1010R.C1017style.MyDialogStyle);
        ((Window) Objects.requireNonNull(getWindow())).setGravity(17);
        setContentView(C1207R.C1212layout.dialog_buy_vip_success);
        findViewById(C1207R.C1210id.dialog_btn_sure).setOnClickListener(new View.OnClickListener() {
            /* class com.androidx.p013lv.mine.dialog.DialogVipBuySuccess.View$OnClickListenerC12971 */

            public void onClick(View view) {
                DialogVipBuySuccess.this.dismiss();
            }
        });
    }

    public void setMessage(String str) {
        this.tvContent.setText(str);
    }
}
